Installing Virtual Agent(s) to Source Platforms
After you've successfully added a Virtual Agent in SUVA, complete the installation process by deploying the Virtual Agent to the source platform. Currently, four platforms are supported: Website, Salesforce, Khoros, and Zendesk.
Website
-
Download the website Virtual Agent that you have just created.
-
Open the .zip file.
-
Open the readme.txt file. Follow the instructions given in the file to install the Virtual Agent to your website.
-
For website source, copy the script in readme.txt file and put it either in the header or the footer of your website.
Save the changes. And you should be able to see the chatbot component on your website.
Salesforce
Setting up Connection between Salesforce and SUVA
Only Salesforce admin(s) can perform the setup. Make sure that you enjoy the Admin privileges to perform a SUVA setup in Salesforce.
-
Download the Salesforce Virtual Agent that you have just created.
-
Open the .zip file.
-
Open the readme.txt file. Follow the instructions given in the file to install the Virtual Agent to your Salesforce-powered community. Before you start with the instructions, make sure of the following:
Pre-Installation Tasks for Salesforce Virtual Agent Installation
-
Use the link from readme.txt file to download the SUVA package as it is currently not listed on AppExchange. You might be asked to log into Salesforce to complete the process. Finish the SUVA package setup.
-
After you have successfully installed the SUVA package, navigate to Setup in Salesforce. Open App Launcher and search SUVA Chatbot item and open it.
-
A configuration screen opens. At the top of the page, you can see the instructions to create a new Remote Site for the chatbot package link. For details, refer to the following doc for instructions on how to create Remote Site in Salesforce:
Pre-Installation Tasks for Salesforce Virtual Agent Installation
-
After you have created the Remote Site for the chatbot package URL. Enter the following details:
a) Select your community from Select your community for configuration dropdown.
b) Enter your Service Endpoint in the Enter service endpoint field. You can copy it from the readme.txt file.
c) Enter your provision key in the Enter provision key field. To get your provision key, contact SearchUnify support.
d) Enter the UID, given in your readme.txt file, in the Enter UID field.
e) Enter 120 (recommended value) in the Enter expiration time (authentication token for searches in minutes).
-
After entering all the details. click Process. You will see a success message when the connection is established successfully.
Publishing the Chatbot on Salesforce-Powered Community
-
Log into your Salesforce Org and navigate to Setup -> Quick Find Box -> All Sites -> Open your community in the Builder mode.
-
Expand Components and drag SUChatbotCmp component to the Content Footer element.
-
Click Publish.
The process is complete. You should now be able to see the bot launcher icon on your community.
Zendesk Guide
-
Download the Zendesk Virtual Agent that you have just created.
-
Open the .zip file.
-
Open the readme.txt file. Follow the instructions given in the file to install the Virtual Agent to your Zendesk Community.
-
For the Zendesk source, copy the script in the readme.txt file.
-
Log into your Zendesk instance and open Zendesk Guide.
-
Open the Guide Admin mode.
-
Go to Customize design.
-
Customize the theme that is currently in use if there are more than one themes in there.
-
Click Edit Code.
-
Put the script that you copied from the readme.txt file, and put it in the Footer.hbs.
-
Publish the Changes
The process is complete. You should now be able to see the bot launcher icon on your community.
Khoros
-
Download the Khoros Virtual Agent that you have just created.
-
Open the .zip file.
-
Open the readme.txt file. Follow the instructions given in the file to install the Virtual Agent to your Khoros Community.
Create New Component
-
Log into your Khoros community as an admin. Click on the profile icon and select Studio.
-
Switch to the Components tab and click New Component.
-
Enter a name and click Create.
-
From the files extracted after downloading the Khoros Virtual Agent, open
searchUnify_chatBotComponent
with a text editor and copy the code. -
Paste the code in Component Content and press Save.
Create and Set up New Endpoints
-
Switch to Endpoints and click New Endpoint.
-
Name the endpoint in Title and click Save.
-
From the files extracted after downloading the Khoros Virtual Agent, open
searchUnify_chatbot
and copy its code. -
Paste the code in View Content and press Save.
-
Create another endpoint using the code from searchunify_chatbot_create_article file.
-
Copy the name of both the endpoints that you added in the title (refer to step 2).
-
Return to Components.
-
Open the component created in the previous section (new_searchunify_component).
-
Replace
<your endpoint name>
with the name of both the endpoints you had copied (refer to step 6). -
Press Save.
The process is complete. You should now be able to see the bot launcher icon on your community.